/**********************************************
 * 
 * File Name				:	MenuDAO.java
 * 
 * Last Changed Date		: 	$Date: 2009-08-06 14:51:00 +0800 (星期四, 06 八月 2009) $
 * 
 * Last Changed Revision	:	$Revision: 92 $
 * 
 * Last Changed Author		:	$Author: cfanboy $
 * 
 * File Header URL			:	$HeadURL: svn://www.svnhost.cn/Busi-Building/code/branch/src/com/busibuilding/administrate/menu/dao/MenuDAO.java $
 * 
 * ********************************************
 */

package com.busibuilding.administrate.menu.dao;

import java.util.List;

import com.busibuilding.administrate.menu.IMenuCommand;
import com.busibuilding.administrate.menu.vo.MenuCVO;
import com.busibuilding.common.exceptions.DAOException;
import com.busibuilding.common.vo.ICommonVO;

/**
 * Class Name: MenuDAO.java
 * Description: 
 * @author YU Zhipeng
 * @version 1.0
 * @since 1.0
 * Date: 2009-7-26
 */

public interface MenuDAO extends IMenuCommand {
	int insert(ICommonVO vo) throws DAOException;
	int update(ICommonVO vo) throws DAOException;
	int delete(ICommonVO vo) throws DAOException;
	List<MenuCVO> searchMenuByCondition(ICommonVO vo) throws DAOException;
	List<MenuCVO> searchMenuByCondition(ICommonVO vo, int skipResults, int maxResults) throws DAOException;
	
	int getRecordsCount(ICommonVO vo)  throws DAOException;
}
